package com.finance.service.customer;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.finance.dao.customer.LocationalRecordMapper;
import com.finance.entity.customer.LocationalRecord;

@Service("LocationalRecordService")
public class LocationalRecordService {
	
	@Resource(name = "LocationalRecordMapper")
	private LocationalRecordMapper locationalRecordMapper;
	
    public void deleteByPrimaryKey(Integer dwId){
    	locationalRecordMapper.deleteByPrimaryKey(dwId);
    }

    public void insert(LocationalRecord record){
    	locationalRecordMapper.insert(record);
    }

    public void insertSelective(LocationalRecord record){
    	locationalRecordMapper.insertSelective(record);
    }

    public LocationalRecord selectByPrimaryKey(Integer dwId){
    	return locationalRecordMapper.selectByPrimaryKey(dwId);
    }

    public void updateByPrimaryKeySelective(LocationalRecord record){
    	locationalRecordMapper.updateByPrimaryKeySelective(record);
    }

    public void updateByPrimaryKey(LocationalRecord record){
    	locationalRecordMapper.updateByPrimaryKey(record);
    }
    
    public List<LocationalRecord> findByList(String kfUserId){
    	return locationalRecordMapper.findByList(kfUserId);
    }
}
